package com.cdxy.dmr.dataObject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 酒店表
 * </p>
 *
 * @author autoGenCode
 * @since 2020-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Hotel对象", description="酒店表")
@TableName("hotel")
public class HotelDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "hotel_id", type = IdType.AUTO)
    private Integer hotelId;

    @ApiModelProperty(value = "酒店名")
    private String name;

    @ApiModelProperty(value = "酒店图")
    private String img;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "酒店地址")
    private String address;

    @ApiModelProperty(value = "搜索次数")
    private Integer searchNum;

    @ApiModelProperty(value = "酒店介绍")
    private String overview;

    @ApiModelProperty(value = "评分")
    private Integer star;

    @ApiModelProperty(value = "酒店价格")
    private Integer price;

    @ApiModelProperty(value = "酒店标签")
    private String tag;

    @ApiModelProperty(value = "服务")
    private String services;

    @ApiModelProperty(value = "开业时间")
    private String debutYear;

    @ApiModelProperty(value = "星级名称")
    private String starName;

    @ApiModelProperty(value = "联系电话")
    private String tel;

    @ApiModelProperty(value = "装修时间")
    private String decorateDate;

    @ApiModelProperty(value = "房间数量")
    private Integer roomCount;

    @ApiModelProperty(value = "入住政策")
    private String policy;

    @ApiModelProperty(value = "设施项目")
    private String facilities;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
